package com.novax.ex.activity.open.model.response;

import com.novax.ex.common.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * @Description ieo 币种配置 response
 * @Author Cody
 * @Date 2022/12/02/15:31
 */
@Schema(description = "ieo 币种配置")
@Data
@EqualsAndHashCode(callSuper = true)
public class IeoCurrencyConfigResponse extends BaseEntity {
    /**
     * 项目id
     */
    @Schema(description = "项目id")
    private Long ieoId;

    /**
     * 币种名称
     */
    @Schema(description = "币种名称")
    private String currency;

    /**
     * 数量
     */
    @Schema(description = "数量")
    private BigDecimal amount;

    /**
     * 权重
     */
    @Schema(description = "权重")
    private BigDecimal weight;

    /**
     * 是否为计价币种 (0 = 否, 1 = 是)
     */
    @Schema(description="是否为计价币种 (0 = 否, 1 = 是)")
    private Integer isPricingCurrency;

    /**
     * 计价币种转USDT汇率
     */
    @Schema(description = "计价币种转USDT汇率")
    private BigDecimal usdtRate;

}
